package org.example.sportdemo.mapper;

import org.example.sportdemo.entity.Competition;
import org.example.sportdemo.entity.Ground;

import java.util.List;

public interface CompetitionMapper {

    List<Competition> selectAll();

    Integer selectCount();

    void addCompetition(Competition competition);

    Competition selectById(Integer id);

    void updateCompetition(Competition competition);

    void deleteByIds(Integer[] ids);

    List<Ground> selectForHot();
}
